#include "dayinfo.h"
#include "dayinfoui.h"

QWidget *DayInfo::createWidget(const QString& temp, const QString& type, const QString& range,
                               const QString& city, const QPixmap& icon) {
    dayinfoUI = new DayInfoUI();
    dayinfoUI->setData(temp, type, range, city);
    dayinfoUI->setIcon(icon);
    return dayinfoUI;
}


